package com.project.bean;

/**
 * @author liuyulai
 * Created with IntelliJ IDEA.
 * Date: 21.7.10
 * Time: 16:19
 * Description: 城市实体bean
 */
public class CityBean {
    /**
     * 城市id
     */
    private int cityId;

    /**
     * 城市名称
     */
    private String cityName;

    public CityBean() {
    }

    public CityBean(String cityName) {

        this.cityName = cityName;
    }

    public CityBean(int cityId, String cityName) {
        this.cityId = cityId;
        this.cityName = cityName;
    }

    public int getCityId() {
        return cityId;
    }

    public void setCityId(int cityId) {
        this.cityId = cityId;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    @Override
    public String toString() {
        return "CityBean{" +
                "cityId=" + cityId +
                ", cityName='" + cityName + '\'' +
                '}' + "\n";
    }
}
